package com.itheima.service.store;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.store.Catalog;

import java.util.List;

public interface CatalogService {
    PageInfo<Catalog> findAll(String page, String size);

    void save(Catalog catalog);

    Catalog findById(String id);

    void update(Catalog catalog);

    void delete(String id);

    List<Catalog> findAll();
}
